package com.springdemo.spring5.AOP.autoconfig;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * Created with IntelliJ IDEA.
 * User: zjz
 * Date: 2022/02/27 19:36
 * Description:
 * Version: V1.0
 */
@Configuration
@ComponentScan(basePackages = {"com.springdemo.spring5.AOP"})//注解扫描
@EnableAspectJAutoProxy(proxyTargetClass = true)//自动生成代理对象
public class ConfigAop {
}
